const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
  lintOnSave: false,
  publicPath: "/",
  outputDir: 'dist',
  assetsDir: 'static',
  devServer: {
    proxy: {
      '/api': {
        target: 'https://admin-api.zhgcloud.com',
        changeOrigin: true,
        pathRewrite: { '^/api': '' },
      },
    },
  },
});
